<template>
  <div>"Home"</div>
</template>
<script>
export default {
  name: "Home",
  data() {
    return {};
  },
  mounted() {
    this.axios({
      method: "get",
      url: "/serverApi/user/profile"
    })
      .then(res => console.log("请求成功", res))
      .catch(err => console.log("请求失败", err))
      .finally(() => console.log("请求结束"));
  }
};
</script>
<style lang='scss' scoped>
</style>